package cn.yzc.mapper;

import cn.yzc.pojo.TaskCategory;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>Project: SpringPro - CateGoryMapper</p>
 * <p>Powered by yzc On 2023-10-25 15:52:04</p>
 * <p>描述：<p>
 *
 * @author yzc [yzc0415@126.com]
 * @version 1.0
 * @since 17
 */
@Mapper
public interface CateGoryMapper {

    /**
     * 增加任务类型
     *
     * @param taskCategory
     * @return
     */
    int insertCategory(TaskCategory taskCategory);

    List<TaskCategory> queryCategory();
}
